package com.cw.jeeyt.dao.domain.security;

import java.util.ArrayList;
import java.util.List;

import com.cw.jeeyt.dao.model.security.SecurityResourceDo;
import com.cw.jeeyt.dao.model.security.SecurityRoleDo;
import com.cw.jeeyt.dao.model.security.SecurityUserDo;

import lombok.Data;

@Data
public class SecurityRoleModel extends SecurityRoleDo {
    private static final long serialVersionUID = -5637196191970758433L;
    /** 超级管理员角色ID */
    public static transient final Integer ROLE_ADMIN_ID = 1111100000;
    private String roleUserIds;
    private String roleUserNames;

    /** 角色用户 */
    private List<SecurityUserDo> roleUsers;

    /** 角色权限 */
    private List<SecurityResourceDo> resources = new ArrayList<>();
}
